package flyweight;

public class ConcreateFlyweight implements Flyweight {

    private String uniqueKey;


    public ConcreateFlyweight(String uniqueKey) {
        this.uniqueKey = uniqueKey;
    }

    @Override
    public void operation(int state) {
        System.out.println("享元类内部状态"+uniqueKey+"，外部状态"+state);
    }
}
